package routers

import (
	"CRMSystem/controllers"
	beego "github.com/beego/beego/v2/server/web"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	//登录
	beego.Router("/login", &controllers.UserController{}, "post:Login")

	//注册
	beego.Router("/register", &controllers.RegisterController{}, "post:Register")
}
